package com.stg.analytics.client;

import java.net.Inet4Address;
import java.net.URI;
import java.util.Date;

public class Event {

	public interface FullSession extends Session {
		public Inet4Address getIP();

		public Date getTime();
	}

	public interface MultiPartURL {
		public URI getHost();

		public String getParameters();

		public URI getURI();

		public boolean isSecure();

	}

	public interface Session {
		public String getTokenID();
	}

	protected int eventID;

	protected MultiPartURL HTMLSender;

	protected String payload;
	protected MultiPartURL reference;
	protected Session session;

	protected Date time;

	protected String type;

	public int getEventID() {
		return eventID;
	}

	public MultiPartURL getHTMLSender() {
		return HTMLSender;
	}

	public String getPayload() {
		return payload;
	}

	public MultiPartURL getReference() {
		return reference;
	}

	public Session getSession() {
		return session;
	}

	public Date getTime() {
		return time;
	}

	public String getType() {
		return type;
	}
}
